package com.easygo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.easygo.mapper.UserMapper;
import com.easygo.pojo.User;
import com.easygo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Auther: bruceliu
 * @Date: 2019/12/31 11:06
 * @QQ:1241488705
 * @Description:
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {

    @Resource
    UserMapper userMapper;

    @Override
    public List<User> findUsers() {
        return userMapper.findUsers();
    }
}
